/**
 * @file mock data
 * @author autoresponse
 */

/* eslint-disable fecs-camelcase */

/**
 * 获取 mock 响应数据
 *
 * @param {string} path 请求路径名
 * @param {Object} queryParam 查询参数信息
 * @param {Object} postParam post 的查询参数信息
 * @return {Object}
 */
module.exports = function (path, queryParam, postParam) {
    return {
        // 可以通过该属性来设置响应的延时，也可以设为值为'0,100'，表示随机 0-100ms 的延时，默认 0
        _timeout: 0,

        // 通过该状态来设置响应的 http 的状态码，默认 200
        _status: 200,

        // 对于要响应的 json 数据可以统一放在该字段里，也可以不使用该字段，直接跟 _xx 属性平级放
        _data: {
            "code":"100200",
            "data":{
                "list":[
                    {
                        "createTime":1493891964000,
                        "matchedMoney":0.00000000000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":6804.39800000000000000000,
                        "numberOver":6804.39800000000000000000,
                        "orderNo":"67a0ef7991468a18fc239b83c7d993c9",
                        "payTransactionNo":"20170504000130010132011759242160",
                        "price":16.57400000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"CANCEL",
                        "tradeCoinType":"BUY",
                        "tradedNumber":0.00000000000000000000
                    },
                    {
                        "createTime":1493888094000,
                        "matchedMoney":25895.31897600000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":1561.46400000000000000000,
                        "numberOver":0.00000000000000000000,
                        "orderNo":"65a5194a5b3b9544a582b318c5c41503",
                        "payTransactionNo":"20170504000130010132011654542051",
                        "price":16.58400000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"SUCCESS",
                        "tradeCoinType":"SELL",
                        "tradedNumber":1561.46400000000000000000
                    },
                    {
                        "createTime":1493888034000,
                        "matchedMoney":0.00000000000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":5242.30900000000000000000,
                        "numberOver":5242.30900000000000000000,
                        "orderNo":"0c3e9724f536526de8df0a87be99c06f",
                        "payTransactionNo":"20170504000130010132011653542049",
                        "price":16.57300000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"CANCEL",
                        "tradeCoinType":"BUY",
                        "tradedNumber":0.00000000000000000000
                    },
                    {
                        "createTime":1493885494000,
                        "matchedMoney":0.00000000000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":4738.77400000000000000000,
                        "numberOver":4738.77400000000000000000,
                        "orderNo":"d215429e1977bc208dd1b98ccfc6e483",
                        "payTransactionNo":"20170504000130010132011611342021",
                        "price":16.57300000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"CANCEL",
                        "tradeCoinType":"BUY",
                        "tradedNumber":0.00000000000000000000
                    },
                    {
                        "createTime":1493879386000,
                        "matchedMoney":86880.78786000000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":6799.98000000000000000000,
                        "numberOver":1561.46400000000000000000,
                        "orderNo":"3a8439e4c2555117103a4ec13a73aed9",
                        "payTransactionNo":"20170504000130010132011429461940",
                        "price":16.58500000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"CANCEL",
                        "tradeCoinType":"SELL",
                        "tradedNumber":5238.51600000000000000000
                    },
                    {
                        "createTime":1493854592000,
                        "matchedMoney":6452.86623000000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":389.05500000000000000000,
                        "numberOver":0.00000000000000000000,
                        "orderNo":"71965255d539da4cc3e61c70724bcbe2",
                        "payTransactionNo":"20170504000130010132010736321100",
                        "price":16.58600000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"SUCCESS",
                        "tradeCoinType":"SELL",
                        "tradedNumber":389.05500000000000000000
                    },
                    {
                        "createTime":1493815640000,
                        "matchedMoney":0.00000000000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":3617.84900000000000000000,
                        "numberOver":3617.84900000000000000000,
                        "orderNo":"3d4cc5270ea56a5dfc72cead999f0b90",
                        "payTransactionNo":"20170503000130010131012047202005",
                        "price":16.58300000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"CANCEL",
                        "tradeCoinType":"BUY",
                        "tradedNumber":0.00000000000000000000
                    },
                    {
                        "createTime":1493807567000,
                        "matchedMoney":0.00000000000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":3618.50400000000000000000,
                        "numberOver":3618.50400000000000000000,
                        "orderNo":"89e5212b30bc62de8cf40002f175a09e",
                        "payTransactionNo":"20170503000130010132011832479418",
                        "price":16.58000000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"CANCEL",
                        "tradeCoinType":"BUY",
                        "tradedNumber":0.00000000000000000000
                    },
                    {
                        "createTime":1493807031000,
                        "matchedMoney":0.00000000000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":3617.84900000000000000000,
                        "numberOver":3617.84900000000000000000,
                        "orderNo":"fa58435764d85d44c60070855fdd0d1b",
                        "payTransactionNo":"20170503000130010132011823519409",
                        "price":16.58300000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"CANCEL",
                        "tradeCoinType":"BUY",
                        "tradedNumber":0.00000000000000000000
                    },
                    {
                        "createTime":1493807004000,
                        "matchedMoney":8749.20429600000000000000,
                        "money":0.00000000000000000000,
                        "moneyOver":0.00000000000000000000,
                        "number":527.56900000000000000000,
                        "numberOver":0.00000000000000000000,
                        "orderNo":"9054ef1d04834a389f92057c711d6abd",
                        "payTransactionNo":"20170503000130010132011823249408",
                        "price":16.58400000000000000000,
                        "symbol":"CNY_GOP",
                        "tradeCoinFlag":"FIXED",
                        "tradeCoinStatus":"SUCCESS",
                        "tradeCoinType":"BUY",
                        "tradedNumber":527.56900000000000000000
                    }
                ],
                "pageNo":1,
                "pageNum":5,
                "pageSize":10,
                "total":null
            },
            "msg":"成功"
        }
    };
};

/* eslint-enable fecs-camelcase */
